public class Student {
    private String name;
    private double grade;

    public String getName() {
        return name;
    }

    public Student(String name, double grade) {
        this.name = name;
        this.grade = grade;
    }

    public void setName(String name) {
        this.name = name;
    }

    public float getGrade() {
        return (float) grade;
    }

    public void setGrade(float grade) {
        this.grade = grade;
    }
}
class Example{
    public static void main(String[] args) {
        Student s1=new Student("111",18.00);
        Student s2=new Student("李龙",18.00);

    }
}
